import java.util.concurrent.Callable;

/**
 * Created by lanouhn on 17/7/18.
 */
public class CallableThread  implements Callable<Integer>{

//    public static void main(String )
    @Override
    public Integer call() throws  Exception{
        int i ;
        for(i = 0; i < 500; i++){
            System.out.println(Thread.currentThread().getName() + "--"+ i);
        }
        return i;
    }
}
